/**
 * Created by PanJiaChen on 16/11/18.
 */

/**
 * @param {string} path
 * @returns {Boolean}
 * @description 校验是否以https?:|mailto:|tel:开头的路径
 */
export function isExternal(path) {
  return /^(https?:|mailto:|tel:)/.test(path)
}
